package com.sitecsys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName(value ="ftluser")
@Data
public class FTLUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "USERID", type = IdType.AUTO)
    private Long userid;

    @TableField("USERNAME")
    private String username;

    @TableField("PASSWORD")
    private String password;

    @TableField("PHONE")
    private String phone;

    @TableField("FACEBASE")
    private String faceBase;

    @TableField("ISMANAGER")
    private Integer ismanager;

    @TableField("AVATAR")
    private String avatar;

    @TableField("SECURITYQ1")
    private String securityQ1;

    @TableField("SECURITYA1")
    private String securityA1;

    @TableField("SECURITYQ2")
    private String securityQ2;

    @TableField("SECURITYA2")
    private String securityA2;

    @TableField("SECURITYQ3")
    private String securityQ3;

    @TableField("SECURITYA3")
    private String securityA3;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("CREATETIME")
    private Date createTime;

    /**
     * 验证次数
     */
    @TableField("VEFNUM")
    private Integer vefNum;

    /**
     * 人脸名称
     */
    @TableField("FACENAME")
    private String faceName;

    /**
     * 人脸备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 账户是否可用，(0==可用，1,不可用)
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 更新时间
     */
    @TableField("UPDATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;




}
